<@override name="title">游戏兑奖</@override>
<@override name="viewbody">
<div class="row">
    <h3 class="page-title">
        客服平台
        <small>领取游戏奖品</small>
    </h3>
</div>

<div id="tip-body">
</div>

<div class="panel panel-default">
    <form action="${ctx}/customer/gift/searchGift" method="POST" class="form-horizontal" id="searchform">
        <div class="form-body">
            <div class="row">
                <div class="col-md-2">
                    <div class="form-group">
                        <div class="col-md-12 text-right">
                            <label class="control-label">查询条件</label>
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        <div class="col-md-12">
                            <input type="text" id="query" name="query" class="form-control" placeholder="手机号码/卡号">
                        </div>
                    </div>
                </div>
                <!--/span-->
                <div class="col-md-4">
                    <div class="form-group">
                        <div class="col-md-12">
                            <input type="text" id="sn" name="sn" class="form-control" placeholder="凭证号">
                        </div>
                    </div>
                </div>
                <div class="col-md-2">
                    <div class="form-group has-error">
                        <div class="col-md-12">
                            <button type="button" id="search" class="btn green">查询</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
<div class="portlet box green">
    <div class="portlet-title line">
        <div class="caption">
            <i class="fa fa-gift"></i>中奖信息
        </div>
    </div>
    <div class="portlet-body" id="form-body">
        <div class="form-body">
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <div class="col-md-12">
                            <div class="form-group">
                                <label class="control-label col-md-3">姓名：

                                </label>
                                <label class="col-md-9 control-label fieldInfo" id="memberName">
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
                <!--/span-->
                <div class="col-md-6">
                    <div class="form-group">
                        <div class="col-md-12">
                            <div class="form-group">
                                <label class="control-label col-md-3">联系电话：</label>
                                <label class="col-md-9 control-label fieldInfo" id="phone">
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="form-body">
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <div class="col-md-12">
                            <div class="form-group">
                                <label class="control-label col-md-3">游戏名称：</label>
                                <label class="col-md-9 control-label fieldInfo" id="gameName">
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
                <!--/span-->
                <div class="col-md-6">
                    <div class="form-group">
                        <div class="col-md-12">
                            <div class="form-group">
                                <label class="control-label col-md-3">参与时间：</label>
                                <label class="col-md-9 control-label fieldInfo" id="joinTime">
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="form-body">
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <div class="col-md-12">
                            <div class="form-group">
                                <label class="control-label col-md-3">中奖奖项：</label>
                                <label class="col-md-9 control-label fieldInfo" id="awardsName">
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
                <!--/span-->
                <div class="col-md-6">
                    <div class="form-group">
                        <div class="col-md-12">
                            <div class="form-group">
                                <label class="control-label col-md-3">奖品名称：</label>
                                <label class="col-md-9 control-label fieldInfo" id="giftName">
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="form-body">
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <div class="col-md-12">
                            <div class="form-group">
                                <label class="control-label col-md-3">领取状态：</label>
                                <label class="col-md-9 control-label fieldInfo" id="recv">
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
                <!--/span-->
                <div class="col-md-6">
                    <div class="form-group">
                        <div class="col-md-12">
                            <div class="form-group">
                                <label class="control-label col-md-3">领取时间：</label>
                                <label class="col-md-9 control-label fieldInfo" id="recvTime">
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="panel-footer">
            <div class="text-center">
                <input type="button" id="save" value="兑奖" class="btn btn-primary">
            </div>
        </div>
    </div>
</div>

<script id="message-template" type="text/x-handlers-template">
    <div class="alert {{class}} fade in widget-inner" id="alert">
        <button type="button" class="close" data-dismiss="alert">×</button>
        {{message}}
    </div>
</script>
</@override>


<@override name="viewmodule">service_gift</@override>
<@extends name="../_basic/service.ftl"></@extends>